<%= semantic_form_for(@title) do |form| %>
<% if @title.errors.any? %>
<div id="error_explanation">
	<h2><%= pluralize(@title.errors.count, "error") %> prohibited this title from being saved:</h2>

	<ul>
		<% @title.errors.full_messages.each do |msg| %>
		<li>
			<%= msg %>
		</li>
		<% end %>
	</ul>
</div>
<% end %>

<div class="form-left">
	<%= form.inputs "Title detail" , :class=>"detail-form" do %>
	<%= form.input :name , :required => true , :input_html => { :disabled => @read_only } %>

	<% end %>
</div>
<%unless @read_only %>
	<%= form.commit_button %>
<% end %>
<% end %>
